﻿@page

@using Volo.CmsKit.Admin.Web.Pages.CmsKit.BlogPosts
@using Volo.CmsKit.Admin.Web.Pages
@using Volo.CmsKit.Admin.Web.Menus
@using Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Pages.Shared.Components.AbpPageToolbar

@inherits CmsKitAdminPageBase

@model IndexModel

@{
    PageLayout.Content.Title = L["BlogPosts"].Value;
    PageLayout.Content.BreadCrumb.Add(L["Menu:CMS"].Value);
    PageLayout.Content.MenuItemName = CmsKitAdminMenus.BlogPosts.BlogPostsMenu;
}

@section scripts {
    <abp-script src="/Pages/CmsKit/BlogPosts/index.js" />
}


@section content_toolbar {
    @await Component.InvokeAsync(typeof(AbpPageToolbarViewComponent), new { pageName = typeof(IndexModel).FullName })
}

<div id="CmsKitBlogPostsWrapper">
    <abp-card>
        <abp-card-body>
            <abp-table striped-rows="true" id="BlogPostsTable" class="nowrap"></abp-table>
        </abp-card-body>
    </abp-card>
</div>